import { createStore } from 'vuex' 
import user from './user'
import menu from './menu'

const store = createStore({
  // https://next.vuex.vuejs.org/guide/strict.html#development-vs-production
  strict: process.env.NODE_ENV !== 'production',
  state: {},
  modules: {
    user,
    menu
  }
})

export default store